import {
  validatePresence,
  validateLength,
  validateConfirmation,
  validateFormat
} from 'ember-changeset-validations/validators';

export default {
  name: [
    validatePresence({ presence: true, message: '房间名称不能为空' })
  ],
  floor:[
    validatePresence({ presence: true, message: '所属楼层不能为空' })
  ],
  roomType:[
    validatePresence({ presence: true, message: '房间类型不能为空' })
  ],
  area:[
    validatePresence({ presence: true, message: '面积不能为空' })
  ],
  orientation:[
    validatePresence({ presence: true, message: '房间朝向不能为空' })
  ],
};
